package com.crissy.messageService.mapper;

import com.crissy.messageService.entity.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Crissy-月下闲人
 * @since 2024-03-29
 */
public interface MessageMapper extends BaseMapper<Message> {

    int insertShowMessgae(Message message);

    List<Message> toSearch(String keyword);
}
